﻿<Window x:Class="ELearning.Wpf.UI.wndNewPassword"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{StaticResource wndNewPassword_Title}" Height="292" Width="212"  WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="95*" />
            <ColumnDefinition Width="183*" />
        </Grid.ColumnDefinitions>
        <Label Content="Старий пароль:" Height="28" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="105" Margin="12,12,0,0" Grid.ColumnSpan="2" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="18,40,0,0" Name="tb_OldPassword" VerticalAlignment="Top" Width="144" Grid.ColumnSpan="2" >
        </PasswordBox>
        <Grid Margin="10,83,12,12" Grid.ColumnSpan="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="75*" />
                <ColumnDefinition Width="181" />
            </Grid.ColumnDefinitions>
            <Label Content="Новий пароль:" Height="28" HorizontalAlignment="Left" Margin="2,2,0,0" Name="label2" VerticalAlignment="Top" Width="105" Grid.ColumnSpan="2" />
            <PasswordBox Height="23" HorizontalAlignment="Left" Margin="8,26,0,0" Name="tb_NewPassword" VerticalAlignment="Top" Width="144" Grid.ColumnSpan="2" />
            <Label Content="Новий пароль (ще раз):" HorizontalAlignment="Left" Margin="2,51,0,82" Name="label3" Width="158" Grid.ColumnSpan="2" />
            <PasswordBox Height="23" HorizontalAlignment="Left" Margin="8,82,0,0" Name="tb_NewPasswordRepeat" VerticalAlignment="Top" Width="144" Grid.ColumnSpan="2" />
            <Button Content="Змiнити" Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Left" Margin="40,121,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
            <Label Content="Паролi не спiвпадають" Grid.ColumnSpan="2" HorizontalAlignment="Left" Margin="5,102,0,31" Width="158" FontSize="9" Foreground="Red" Visibility="Hidden" Name="lb_IncorectConfirmation" />
        </Grid>
        <Label Content="Невiрний пароль" Height="26" HorizontalAlignment="Left" Margin="15,60,0,0" Name="lb_OldPasswordError" VerticalAlignment="Top" FontSize="9" Foreground="#FFDE1D1D" Grid.ColumnSpan="2" Width="88" Visibility="Hidden" />
    </Grid>
</Window>
